home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Win2K CMD AutoComplete 1.xpl < prev    next >
Text File  |  2003-07-28  |  2KB  |  67 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="7"
  3. "COUNT"="4"
  4. "UIPATH 1"="Appearance\System\Command Prompt"
  5. "UIPATH 2"="Program Options\Built in Windows Apps\Command Prompt"
  6. "NAME"="CMD File AutoComplete Key"
  7. "VERSION"="3.01"
  8. "LANGUAGE"="VBScript"
  9. "OSVERSION"="0101011"
  10. "TEXT 1"="Do not use AutoComplete Key"
  11. "TEXT 2"="Use TAB as AutoComplete Key"
  12. "TEXT 3"="Use CTRL+D as AutoComplete Key"
  13. "TEXT 4"="Use CTRL+F as AutoComplete Key"
  14. "DESCRIPTION 1"="Windows NT, 2000 and XP provide a feature at the command prompt (cmd.exe) known as AutoComplete."
  15. "DESCRIPTION 2"="If this feature is activated, you can type a char, then the special key selected here and Windows will try to automatically complete the command for you with the files in the current directory." 
  16. "DESCRIPTION 3"="For example, if you are in the folder "C:\WINNT" and type "dir WIN", then press the AutoComplete key, Windows will try to AutoComplete the command with the files that are inside the C:\WINNT folder. E.g. it will write "dir WIN.INI" on the first try and if you hit the key again, continue with "dir WIN.EXE" and so on."
  17. "DESCRIPTION 4"="This can be used with directories as well; it isn't limited to files."
  18. "DESCRIPTION 5"="It's similar to the AutoComplete function of Internet Explorer."
  19. "DESCRIPTION 6"="IMPORTANT: Windows NT does only support one AutoComplete Key for both File AutoComplete AND Directory AutoComplete. Windows 2000 and XP on the other hand can be configured to use different keys for either File or Directory AutoComplete."
  20. "AUTHOR"="Xteq Systems"
  21. "CONTACTURL"="http://www.xteq.com"
  22. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  23. "COMMENT 1"=" "
  24.  
  25. '9 = TAB, 4 = CTRL+D, 6 = CTRL+F
  26.  
  27. 'needed ? 
  28. 'sp2="HKCU\Software\Microsoft\Command Processor\EnableExtensions"
  29.  
  30.  
  31.  sp="HKCU\Software\Microsoft\Command Processor\CompletionChar"
  32.  
  33. Sub Plugin_Initialize 
  34.  s=RegReadValue(sp)
  35.  if s=0 then SetUIElement 1,true
  36.  if s=9 then SetUIElement 2,true
  37.  if s=4 then SetUIElement 3,true
  38.  if s=6 then SetUIElement 4,true
  39. End Sub
  40.  
  41.  
  42. Sub Plugin_CheckData(ElementIndex)
  43. End Sub
  44.  
  45.  
  46.  
  47. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  48.  if GetUIElement(1)=true then
  49.     s=0
  50.  elseif GetUIElement(2)=true then
  51.     s=9
  52.  elseif GetUIElement(3)=true then
  53.     s=4
  54.  elseif GetUIElement(4)=true then
  55.     s=6
  56.  end if
  57.  
  58.  Call RegWriteValue(sp,s,2)
  59. End Sub
  60.  
  61.  
  62. Sub Plugin_Terminate 
  63. End Sub
  64.  
  65.  
  66.  
  67.